﻿<%@ Page Title="Edição de Cursos" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Curso_Editar.aspx.cs" Inherits="ProjetoJornada.Interno.Curso_Editar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../javascript/menu_dropdown.js" type="text/javascript"></script>
    <script src="../javascript/validacao_mascara.js" type="text/javascript"></script>

    <link href="../CSS/cadastro.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
    </asp:ScriptManager>
            <ContentTemplate>
            <fieldset id="Curso">
                <legend>Editar Dados Curso</legend>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" AssociatedControlID="txtNome" runat="server" Text="Nome"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtNome" runat="server" Width="190px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label7" runat="server" AssociatedControlID="logoUpload" Text="Imagem"></asp:Label>
                        </td>
                        <td>
                        
                           <asp:Image ID="imgLogo" runat="server"></asp:Image>
                           <br />
                           <span>Trocar imagem:</span>
                           <asp:FileUpload ID="logoUpload" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" AssociatedControlID="txtPreRequisitos" runat="server" Text="Pré-requisitos"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPreRequisitos" runat="server" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label3" AssociatedControlID="CargaHorariaTextBox" runat="server" Text="Carga Horária"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="CargaHorariaTextBox" runat="server" Width="80px" onKeyPress="return somenteNumeros(event);"></asp:TextBox>
                            <asp:Label ID="lblTipoDadoCH" runat="server" ForeColor="Gray" Text="(em horas)"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label4" AssociatedControlID="txtPublicoAlvo" runat="server" Text="Público alvo"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPublicoAlvo" runat="server" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label5" AssociatedControlID="txtDescricao" runat="server" Text="Descrição"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtDescricao" runat="server" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label6" AssociatedControlID="txtEmenta" runat="server" Text="Ementa"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtEmenta" runat="server" Height="286px" TextMode="MultiLine" 
                                Width="300px"></asp:TextBox>
                        </td>
                    </tr>     
                </table>
            </fieldset>
            <div id="botao_cadastrar">
                    <asp:ImageButton ID="ibtnEditar" ImageUrl="~/imagens/add.png" 
                                runat="server" onclick="ibtnEditar_Click"/>
            </div>
        </ContentTemplate>
</asp:Content>